package com.foxchen.textinputapp.vo;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class LoginVO {
    @NotBlank(message = "user.account.not.blank")
    @Size(max = 16,message = "user.account.over.size")
    private String account;

    @NotBlank(message = "user.password.not.blank")
    @Size(max = 16,message = "user.password.over.size")
    private String password;

    @NotBlank(message = "user.check.code.not.blank")
    @Size(max = 5,message = "user.check.code.over.size")
    private String code;

    @NotBlank(message = "user.uuid.not.blank")
    @Size(max = 64,message = "user.uuid.over.size")
    private String uuid;
}
